import request from '../utils/request'

//个人信息
export const addHuanzhe = data => request.post('/wq/huanzhe', data)
// 职位
export const posts= data=>request.get('/system/dict/data/type/weiqin_zhiwu',data)
// 军衔
export const military= data=>request.get('/system/dict/data/type/weiqin_junxian',data)
// 血型
export const bloodType= data=>request.get('/system/dict/data/type/weiqin_xuexing',data)
// 伤类
export const Injuries= data=>request.get('/system/dict/data/type/weiqin_shanglei',data)
// 伤型
export const InjuryType= data=>request.get('/system/dict/data/type/weiqin_shangxing',data)
// 民族
export const ethnicGroup= data=>request.get('/system/dict/data/type/weiqin_minzu',data)
// 并发症
export const complication= data=>request.get('/system/dict/data/type/weiqin_bingfazheng',data)
// 伤部
export const Wounds= data=>request.get('/system/dict/data/type/weiqin_shangbu',data)
// 伤势
export const Woundst= data=>request.get('/system/dict/data/type/weiqin_shangshi',data)
// 伤票类型
export const InjuryTicketType= data=>request.get('/system/dict/data/type/weiqin_shangpiao_leixing',data)
// 负伤类型
export const TypeOfInjury= data=>request.get('/system/dict/data/type/weiqin_fushang_leixing',data)
// 处置方式
export const Disposal= data=>request.get('/system/dict/data/type/weiqin_chuzhi_fangshi',data)
// 伤员列表查询
export const viewWounded= data=>request.get('/wq/huanzhe/list',data)
// 根据id查询
export const WoundedById= data=>request.get('/wq/huanzhe/'+data)
// 查询分组
export const grouping= data=>request.get('/system/dict/data/type/weiqin_irculation_department')
// 流转
export const Circulation= data=>request.post('/wq/liuzhuan/zHz',data)
// 医嘱套餐
export const packageQuery= data=>request.get('/wq/yizhutaocan/list',data)
// 字典查询
export const dictionary= data=>request.get('/system/dict/data/type/'+data)
// 查看已开医嘱
export const OrdersQuery= data=>request.get('/wq/yizhu/gethzId',data)
// 根据患者id查询检查记录
export const examineQuery= data=>request.get('/wq/jiancha/'+data)
// 根据患者id查询检验记录
export const inspectionQuery= data=>request.get('/wq/jianyanxiangmu/'+data)
// 查询医嘱内容
export const contentOrders= data=>request.get('/wq/wuzhi/getorwz',data)
// 新增医嘱
export const addOrders= data=>request.post('/wq/yizhu',data)
// 新增护理
export const addNursing= data=>request.post('/wq/huli',data)
// 根据患者id查询护理记录
export const nursingById= data=>request.get('/wq/huli/'+data)
// 病情新增
export const addIllness= data=>request.post('/wq/shangbingqing/',data)
// 根据患者id查询病情诊断记录
export const illnessById= data=>request.get('/wq/shangbingqing/'+data)
// 后送
export const evacuation= data=>request.post('/wq/guidang/xzhssq',data)
// 查询后送记录
export const inquireRecording= data=>request.get('/wq/guidang/listhspc',data)
// 查询后送管理列表
export const evacuationManage= data=>request.get('/wq/guidang/listhsjl',data)
// 查询批次号
export const lotNumber= data=>request.get('/wq/guidang/getdtpch')
// 后送确认
export const evacuationConfirm= data=>request.post('/wq/guidang/addhspc',data)
// 后送驳回
export const overrule= data=>request.post('/wq/guidang/bhhs',data)
// 根据id删除
export const removeById= data=>request.delete('/wq/huanzhe/'+data)
// 修改
export const update= data=>request.put('/wq/huanzhe',data)
// 上传离线伤员
export const upload= data=>request.post('/wq/huanzhe/addList',data)









